﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartProduction.Domain.ProductionOrders
{
    /// <summary>
    /// 生产物品
    /// </summary>
    public class Productiongoods
    {
        /// <summary>
        /// 主键id
        /// </summary>
        [Key]

        public int ProductId { get; set; }
        /// <summary>
        /// 物品名称
        /// </summary>
        public string SelectProducedItem { get; set; }
        /// <summary>
        /// 物品编号
        /// </summary>
        public string EnterItemNo { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string EnterSpecificationModel { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string EnterUnit { get; set; }
        /// <summary>
        /// 物品类别
        /// </summary>
        public string EnterItemCategory { get; set; }
        /// <summary>
        /// 物品分类
        /// </summary>
        public string EnterItemClassification { get; set; }
        /// <summary>
        /// 计划开始时间
        /// </summary>
        public DateTime SelectPlannedStartTime { get; set; }
        /// <summary>
        /// 计划结束时间
        /// </summary>
        public DateTime SelectPlannedEndTime { get; set; }
        /// <summary>
        /// 计划产量
        /// </summary>
        public string EnterPlannedOutput { get; set; }

        /// <summary>
        /// 外键工单
        /// </summary>
        public string? WorkOrderNo { get; set; }
    }
}
